<?php
 
   class CreateForm 
   {
    function createTable($NombreTabla,$Nombre,$Variables,$PostVars /*,$path */)
	 {  
	    echo '<form action="'.$path.'" method="post" name="rsm">';
	    echo '<link rel="stylesheet" href="../../../css/form1.css" type="text/css" />';
	    echo '<table border="0" align="center" class="parent" title="'.$NombreTabla.'">';
		echo '<tr><td class="caption" colspan="3">'.$Nombre.'</td></tr>';
		  for ($i=0 ; $i<sizeof($Variables) ;$i++)
		    {
			 echo '<tr><td><label >'.$Variables[$i].'</label><td><td >'.$PostVars[$i].'</td>';
		         }
		echo '<tr><td  align="right"><input name="Modify" onClick="history.back()"  type="button" id="Modify" value="Modificar"</td>';		        echo '<td width="60" ><input type="submit" name="submit" value="Confirmar"> </td></tr>';
		echo "</table>";
	   echo "</form>";
	   }
	    
	   }
	    
	   ?>
	    
	   